* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
}
#app{
    width: 100%;
}
body {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.shop-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 90%;
    justify-content: center;
    margin: auto;
}

.shop-message-box {
    width: 350px;
    height: 500px;
    margin: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    flex-direction: column;

}

.messages {
    display: flex;
    flex-direction: column;
    padding: 8px 20px;
    overflow-y: auto;
    flex: auto;
}


.shop-info {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    position: relative;
    border-bottom: solid 1px rgba(0,0,0,0.3);
    align-items: center;
}

.message {
    display: flex;
    margin-bottom: 18px;
    flex-direction: column;
    transition: all ease-in 0.2s;
    position: relative;
}

.message-time {
    color: gray;
    font-size: 12px;
    margin-bottom: 4px;
}

.title-box {
    display: flex;
    align-items: center;

}

.shop-name {
    margin-left: 6px;
}

.status {
    position: relative;

}

.status.active {
    color: black;
}

.online {
    width: 10px;
    height: 10px;
    background: white;
    position: absolute;
    right: -1px;
    bottom: 0px;
    border-radius: 50%;
    border: 1px black solid;

}

.status.active .online {
    background: lawngreen;

}

.shop-code {
    font-weight: 700;
}
/*定义滚动条高宽及背景
 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar
{
    width:6px;
    height: 6px;
}
/*定义滚动条轨道
 内阴影+圆角*/
::-webkit-scrollbar-track
{
    border-radius:10px;
}
/*定义滑块
 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
    border-radius:10px;
    background-color:#555;
}

.board-item {
    display: flex;
    flex-direction: row;
}

.new-shop {
    display: flex;
}

.board {
    width: 500px;
    margin: auto;
}

.title {
    position: relative;
    display: flex;
    align-items: center;
}
.function {
    position: relative;
    margin-left: 4px;
    opacity: 0;
    cursor: pointer;
    color: red;
    font-size: 20px;
    font-weight: 700;
}

.shop-info:hover .function {
    opacity: 1;
    transition: all ease-in 0.1s;
}

.copy {
    position: absolute;
    right: 0;
    top: 0;
}
.copy .el-button{

}

.message-content {
}
.message-content textarea{
    width: 100%;
    min-height: 80px;
}